package com.hsh.bean;

public class Blog {
    private int bid;
    private String nickname;
    private String blogText;
    private int favor;

    @Override
    public String toString() {
        return "Blog{" +
                "bid=" + bid +
                ", nickname='" + nickname + '\'' +
                ", blogText='" + blogText + '\'' +
                ", favor=" + favor +
                '}';
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getBlogText() {
        return blogText;
    }

    public void setBlogText(String blogText) {
        this.blogText = blogText;
    }

    public int getFavor() {
        return favor;
    }

    public void setFavor(int favor) {
        this.favor = favor;
    }
}
